﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Request.Role
{
    public class UpdateRoleMenuRequest
    {
        /// <summary>
        /// 角色编号
        /// </summary>
        [Required(ErrorMessage ="角色编号必填")]
        public long RoleId { get; set; }

        /// <summary>
        /// 菜单编号集合
        /// </summary>
        [Required(ErrorMessage = "菜单编号集合必填")]
        public List<long> MenuIdList { get; set; }
    }
}
